<!DOCTYPE html>
<html>
<head>
    <title>志愿设计管理</title>
    <#include "/header.html">

    <script language="javascript">
        function preview(oper)
        {
            if (oper < 10){
                bdhtml=window.document.body.innerHTML;//获取当前页的html代码
                sprnstr="<!--startprint"+oper+"-->";//设置打印开始区域
                eprnstr="<!--endprint"+oper+"-->";//设置打印结束区域
                prnhtml=bdhtml.substring(bdhtml.indexOf(sprnstr)+18); //从开始代码向后取html
                prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));//从结束代码向前取html
                window.document.body.innerHTML=prnhtml;
                window.print();
                window.document.body.innerHTML=bdhtml;
            } else {
                window.print();
            }
            window.location.reload();
        }
    </script>
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <div class="form-group col-sm-2">

                <select class="form-control" v-model="type"  @keyup.enter="query">
                    <option>等待审核</option>
                    <option>审核通过</option>
                    <option>审核未通过</option>
                    <option>已过期</option>

                </select>
            </div>
            <a class="btn btn-default" @click="query">查询</a>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
            <code class="language-html"><a href="javascript:void(0)" class="btn btn-primary" onclick="exportWord()">导出Word文档</a></code>
            <input type=button name='button_export' title='打印' class="btn btn-primary" onclick=preview(1) value=打印>
            <input type=button name='back' title='返回' class="btn btn-primary" onclick="window.history.back()" value=返回>
            <br>
            <br>
            <span v-html="msg">{{msg}}</span>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/gaokaobaobei/PerformanceAudit.js?_${.now?long}"></script>
<script src="${request.contextPath}/statics/js/modules/gaokaobaobei/FileSaver.js"></script>
<script src="${request.contextPath}/statics/js/modules/gaokaobaobei/jquery.wordexport.js"></script>
<script>
    function exportWord(){
        $("#export_word").wordExport();
    }
</script>
<!--endprint1-->
</body>
</html>